package top.hhydra.mimall.form;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

/**
 * @Description
 * @auther SaiyeEmon
 * @create 2020-02-09 23:12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class UserLoginForm {

    @NotBlank(message = "请输入用户名")
    @ApiModelProperty(value = "用户名")
    private String username;

    @NotBlank(message = "请输入密码")
    @ApiModelProperty(value = "密码")
    private String password;

}
